<%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:if test="${successfulMessage != null}">
	<div class="valid_box">
		<spring:message code="successful.updatesetting" />
	</div>
</c:if>
<form:form action="" method="post" cssClass="niceform"
	commandName="setting">
	<form:errors path="*" cssClass="error_box" element="div" />
	<fieldset>
		<dl style="width: 100%;">
			<dt style="width: 350px;">
				<label for="numItemPerPage"><spring:message
						code="numitemperpage" /></label>
			</dt>
			<dd>
				<form:input path="numItemPerPage" maxlength="3" size="54"
					cssStyle="width: 50px; text-align: right;" />
			</dd>
		</dl>
		
		<dl style="width: 100%;">
			<dt style="width: 350px;">
				<label for="numItemPerPageAdmin"><spring:message
						code="numitemperpageadmin" /></label>
			</dt>
			<dd>
				<form:input path="numItemPerPageAdmin" maxlength="3" size="54"
					cssStyle="width: 50px; text-align: right;" />
			</dd>
		</dl>

		<dl style="width: 100%;">
			<dt style="width: 350px;">
				<label for="numMaxItemLeftPanel"><spring:message
						code="nummaxitemleftpanel" /></label>
			</dt>
			<dd>
				<form:input path="numMaxItemLeftPanel" maxlength="2" size="54"
					cssStyle="width: 50px; text-align: right;" />
			</dd>
		</dl>

		<dl style="width: 100%;">
			<dt style="width: 350px;">
				<label for="numSimilarItem"><spring:message
						code="numsimilaritem" /></label>
			</dt>
			<dd>
				<form:input path="numSimilarItem" maxlength="2" size="54"
					cssStyle="width: 50px; text-align: right;" />
			</dd>
		</dl>

		<dl style="width: 100%;">
			<dt style="width: 350px;">
				<label for="numMostSoldItem"><spring:message
						code="nummostsolditem" /></label>
			</dt>
			<dd>
				<form:input path="numMostSoldItem" maxlength="2" size="54"
					cssStyle="width: 50px; text-align: right;" />
			</dd>
		</dl>

		<dl style="width: 100%;">
			<dt style="width: 350px;">
				<label for="numNewestItem"><spring:message
						code="numnewestitem" /></label>
			</dt>
			<dd>
				<form:input path="numNewestItem" maxlength="2" size="54"
					cssStyle="width: 50px; text-align: right;" />
			</dd>
		</dl>
		
		<dl style="width: 100%;">
			<dt style="width: 350px;">
				<label for="numMostSoldItemAdmin"><spring:message
						code="numMostSoldItemAdmin" /></label>
			</dt>
			<dd>
				<form:input path="numMostSoldItemAdmin" maxlength="2" size="54"
					cssStyle="width: 50px; text-align: right;" />
			</dd>
		</dl>

		<dl style="width: 100%;">
			<dt style="width: 350px;">
				<label for="numNewestItemAdmin"><spring:message
						code="numNewestItemAdmin" /></label>
			</dt>
			<dd>
				<form:input path="numNewestItemAdmin" maxlength="2" size="54"
					cssStyle="width: 50px; text-align: right;" />
			</dd>
		</dl>

		<dl class="submit">
			<dd>
				<input type="submit" name="submit" id="submit"
					value="<spring:message code="save" />" />
			</dd>
		</dl>
	</fieldset>
</form:form>